package com.be.beadmin.device.dto.output;
import com.alibaba.excel.annotation.ExcelProperty;

import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class InspectPlanExcelEx {
//    @ExcelProperty("唯一标识")
//    private String Identification;
    @ExcelProperty("巡检计划单名称")
    private String InspectDesc;
    @ExcelProperty("巡检计划编码")
    private String InspectID;
    @ExcelProperty("计划类型")
    private String PlanType;
    @ExcelProperty("巡检人")
    private String InspectBy;
    @ExcelProperty("巡检周期")
    private String Period;
    @ExcelProperty("巡检频率")
    private String Times;
    @ExcelProperty("巡检类别")
    private String Category;
    @ExcelProperty("有效标记")
    private boolean IsValid;
    @ExcelProperty("巡检计划模板编码")
    private String TemplateID;
    @ExcelProperty("截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date DueTime;
//    @ExcelProperty("创建人")
//    private String CreateBy;
//    @ExcelProperty("更新人")
//    private String UpdateBy;

}
